<?php

namespace App\Event;

/**
 * 用户聊天事件
 */
class UserChatEvent
{
    public $userId;
    public $chatUserId;
    public $userChat;
    public $eventType = 'chat';

    public function __construct($userId = 0, $chatUserId = 0, $userChat = null)
    {
        $this->userId = $userId;
        $this->chatUserId = $chatUserId;
        $this->userChat = $userChat;
    }
}
